package api;

import cn.hutool.http.HttpRequest;

public class NoticeMessage {
    public static String noticeMessage(String addr,String data){
        String token = HttpRequest.post("http://"+addr+"/api/v1/notify/wecom/robot/msg/send")
                .body(data)
                .header("ignoreErrorCode","true")
                .execute().body();
        return token;
    }
}
